<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<s:include value="/include/header/header.jsp"></s:include>
	Billing Invoice
<s:include value="/include/header/mainNav.jsp"></s:include>
	<!--NAV ENDS HERE-->
    <!--DISPLAY STARTS HERE-->
    <div id="display-nobg">
    <!--DISPLAY INNER STARTS HERE-->
	<div id="display-inner">
		
		<s:iterator value="accounts" var="account">
		
			<p>
				Account: <s:property value="#account.firstName" /> <s:property value="#account.lastName" />, ID# <s:property value="#account.id" /> 
			</p>
			<p>
				Offerings: 
			</p>			
			<table>
				<s:iterator value="#account.services" var="service" >
					<tr>
						<td class="table-width">
							Service #ID. <s:property value="#service.id" />
						</td>
						<td  class="table-width">
							<s:property value="#service.offering.description"/>
						</td>
						<td  class="table-width">
							Offering #ID. <s:property value="#service.offering.id"/>
						</td>
					</tr>
				</s:iterator>
			</table>
			
			
		
		</s:iterator>
		
		<s:include value="/include/footer/footer.jsp"></s:include>		
